#pragma once
#include "NX2DObjectBaseDef.h"
#include "NXRasterDef.h"
#include <vector>
using namespace std;

AFX_EXT_API BOOL NXRasterFigure( IN TPOUTLINEFIGURE* figure, IN CRect& rtRect, IN int& nWidth, IN int& nHeight, OUT float*& pBuffer );
AFX_EXT_API BOOL NXRasterRotateFigure( IN TPOUTLINEFIGURE* figure, IN CRect& rtRect, IN int& nWidth, IN int& nHeight,  IN float fRotate, IN	POINTF ptTrans, IN float fScale, OUT float*& pBuffer );
AFX_EXT_API BOOL NXRelease(IN OUT float*& pBuffer );
AFX_EXT_API BOOL NXInitSupport();
AFX_EXT_API BOOL NXReleaseCLSupport();
AFX_EXT_API BOOL NXGetFigureLine(IN TPOUTLINEFIGURE* figure,OUT vector<NXLine>& vLine);
AFX_EXT_API BOOL SetUseGPU(BOOL bUse);

 